package stats;
import java.util.Map;

/**
 * Record statistical scores for events.
 * @author Yin
 *
 */
public class ScoreStats extends AmountStats 
{
	
	public ScoreStats()
	{
		super();
	}
	
	/**
	 * Associate weight to times of event, so that it is converted to score.
	 * @param weight
	 * @param eventName
	 */
	public void addWeight(double weight, String eventName)
	{
		addStat(0.0, PLUS, weight, eventName);
	}
	
	@Override
	public double update(String eventName) 
	{
		return super.update(eventName);
	}
}
